import request from '@/utils/request'
//患者管理列表/查询
export function Querylist(data) {
  return request({
    url: '/pc/cust/list',
    method: 'get',
    params: data
  })
}
//区域
export function area() {
  return request({
    url: '/area/list',
    method: 'get',
  })
}
//患者管理修改
export function sickadd(data) {
  return request({
    url: '/pc/cust',
    method: 'put',
    data: data
  })
}
//患者管理删除
export function remove(custId) {
  return request({
    url: '/pc/cust/'+custId,
    method: 'delete',
  })
}
//病例添加
export function addcase(data) {
  return request({
    url: '/pc/case/add',
    method: 'post',
    data: data
  })
}

